<template>
  <div id="app">
    <header>豆瓣电影</header>
    <toptab></toptab>
    <router-view></router-view>
  </div>
</template>

<script>
  import toptab from "./components/toptab.vue"
export default {
  name: 'app',
  data () {
    return {

    }
  },
  components:{
    toptab,
  }
}
</script>

<style>
header{
  width: 100%;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background-color: black;
 color: white;
}

h1, h2 {
  font-weight: normal;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  display: inline-block;
  margin: 0 10px;
}
a{
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

</style>
